/* 自定义样式 */
:root {
    --primary-color: #2e8b57;
    --secondary-color: #f8f9fa;
    --accent-color: #d4edda;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    color: #333;
    background-color: #f9f9f7;
}

/* 导航栏 */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(46, 139, 87, 0.2);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

/* 大Banner */
.hero-banner {
    height: 400px;
    background: linear-gradient(rgba(46, 139, 87, 0.7), rgba(46, 139, 87, 0.3)), 
                url('https://images.unsplash.com/photo-1490750967868-88aa4486c946?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

/* 艺术装饰元素 */
.leaf-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.8;
    z-index: 1;
}

.leaf-1 {
    top: 20px;
    left: 20px;
    transform: rotate(-15deg);
}

.leaf-2 {
    bottom: 30px;
    right: 40px;
    transform: rotate(25deg);
}

/* 地区选择 */
.region-selector {
    background-color: var(--accent-color);
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

/* 卡片设计 */
.feature-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 139, 87, 0.2);
}

.feature-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.feature-card .card-body {
    padding: 1.5rem;
}

.feature-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* 活动卡片 */
.activity-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 139, 87, 0.15);
}

.activity-card .card-img-top {
    height: 160px;
    object-fit: cover;
}

.activity-card .card-body {
    padding: 1.25rem;
}

.activity-card .badge {
    background-color: var(--primary-color);
}

/* 部分标题 */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 页脚 */
footer {
    background-color: #343a40;
    color: white;
    padding: 3rem 0;
}

footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .leaf-decoration {
        width: 100px;
        height: 100px;
    }
}